package xyz.luhui1hao.sell.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName WechatAccountConfig
 * @Description 微信账户配置类（获取自定义配置的方式）
 * @Author luhui1hao
 * @Date 2018/9/6 上午11:06
 * @Version 1.0
 */
@Component
@Data
@ConfigurationProperties(prefix = "wechat")
public class WechatAccountConfig {

    //    @Value("${wechat.mpAppId}")
    private String mpAppId;

    private String mpAppSecret;

    //商户号
    private String mchId;
    //商户秘钥
    private String mchKey;
    //商户证书路径
    private String keyPath;
    //微信支付异步通知地址
    private String notifyUrl;
}
